﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DFF RID: 3583
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RelicFilterPlanSettings : IMessage<RelicFilterPlanSettings>, IMessage, IEquatable<RelicFilterPlanSettings>, IDeepCloneable<RelicFilterPlanSettings>, IBufferMessage
	{
		// Token: 0x17002D80 RID: 11648
		// (get) Token: 0x0600A0DB RID: 41179 RVA: 0x001AE1F4 File Offset: 0x001AC3F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RelicFilterPlanSettings> Parser
		{
			get
			{
				return RelicFilterPlanSettings._parser;
			}
		}

		// Token: 0x17002D81 RID: 11649
		// (get) Token: 0x0600A0DC RID: 41180 RVA: 0x001AE1FB File Offset: 0x001AC3FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RelicFilterPlanSettingsReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D82 RID: 11650
		// (get) Token: 0x0600A0DD RID: 41181 RVA: 0x001AE20D File Offset: 0x001AC40D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RelicFilterPlanSettings.Descriptor;
			}
		}

		// Token: 0x0600A0DE RID: 41182 RVA: 0x001AE214 File Offset: 0x001AC414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanSettings()
		{
		}

		// Token: 0x0600A0DF RID: 41183 RVA: 0x001AE280 File Offset: 0x001AC480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanSettings(RelicFilterPlanSettings other) : this()
		{
			this.rarityBitset_ = other.rarityBitset_;
			this.relicSetList_ = other.relicSetList_.Clone();
			this.bodyMainPropertyList_ = other.bodyMainPropertyList_.Clone();
			this.footMainPropertyList_ = other.footMainPropertyList_.Clone();
			this.sphereMainPropertyList_ = other.sphereMainPropertyList_.Clone();
			this.ropeMainPropertyList_ = other.ropeMainPropertyList_.Clone();
			this.isIncludeFilterSubProperty_ = other.isIncludeFilterSubProperty_;
			this.subPropertyNum_ = other.subPropertyNum_;
			this.subPropertyList_ = other.subPropertyList_.Clone();
			this.headMainPropertyList_ = other.headMainPropertyList_.Clone();
			this.handMainPropertyList_ = other.handMainPropertyList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A0E0 RID: 41184 RVA: 0x001AE350 File Offset: 0x001AC550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicFilterPlanSettings Clone()
		{
			return new RelicFilterPlanSettings(this);
		}

		// Token: 0x17002D83 RID: 11651
		// (get) Token: 0x0600A0E1 RID: 41185 RVA: 0x001AE358 File Offset: 0x001AC558
		// (set) Token: 0x0600A0E2 RID: 41186 RVA: 0x001AE360 File Offset: 0x001AC560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RarityBitset
		{
			get
			{
				return this.rarityBitset_;
			}
			set
			{
				this.rarityBitset_ = value;
			}
		}

		// Token: 0x17002D84 RID: 11652
		// (get) Token: 0x0600A0E3 RID: 41187 RVA: 0x001AE369 File Offset: 0x001AC569
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> RelicSetList
		{
			get
			{
				return this.relicSetList_;
			}
		}

		// Token: 0x17002D85 RID: 11653
		// (get) Token: 0x0600A0E4 RID: 41188 RVA: 0x001AE371 File Offset: 0x001AC571
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BodyMainPropertyList
		{
			get
			{
				return this.bodyMainPropertyList_;
			}
		}

		// Token: 0x17002D86 RID: 11654
		// (get) Token: 0x0600A0E5 RID: 41189 RVA: 0x001AE379 File Offset: 0x001AC579
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FootMainPropertyList
		{
			get
			{
				return this.footMainPropertyList_;
			}
		}

		// Token: 0x17002D87 RID: 11655
		// (get) Token: 0x0600A0E6 RID: 41190 RVA: 0x001AE381 File Offset: 0x001AC581
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SphereMainPropertyList
		{
			get
			{
				return this.sphereMainPropertyList_;
			}
		}

		// Token: 0x17002D88 RID: 11656
		// (get) Token: 0x0600A0E7 RID: 41191 RVA: 0x001AE389 File Offset: 0x001AC589
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> RopeMainPropertyList
		{
			get
			{
				return this.ropeMainPropertyList_;
			}
		}

		// Token: 0x17002D89 RID: 11657
		// (get) Token: 0x0600A0E8 RID: 41192 RVA: 0x001AE391 File Offset: 0x001AC591
		// (set) Token: 0x0600A0E9 RID: 41193 RVA: 0x001AE399 File Offset: 0x001AC599
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsIncludeFilterSubProperty
		{
			get
			{
				return this.isIncludeFilterSubProperty_;
			}
			set
			{
				this.isIncludeFilterSubProperty_ = value;
			}
		}

		// Token: 0x17002D8A RID: 11658
		// (get) Token: 0x0600A0EA RID: 41194 RVA: 0x001AE3A2 File Offset: 0x001AC5A2
		// (set) Token: 0x0600A0EB RID: 41195 RVA: 0x001AE3AA File Offset: 0x001AC5AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SubPropertyNum
		{
			get
			{
				return this.subPropertyNum_;
			}
			set
			{
				this.subPropertyNum_ = value;
			}
		}

		// Token: 0x17002D8B RID: 11659
		// (get) Token: 0x0600A0EC RID: 41196 RVA: 0x001AE3B3 File Offset: 0x001AC5B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SubPropertyList
		{
			get
			{
				return this.subPropertyList_;
			}
		}

		// Token: 0x17002D8C RID: 11660
		// (get) Token: 0x0600A0ED RID: 41197 RVA: 0x001AE3BB File Offset: 0x001AC5BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HeadMainPropertyList
		{
			get
			{
				return this.headMainPropertyList_;
			}
		}

		// Token: 0x17002D8D RID: 11661
		// (get) Token: 0x0600A0EE RID: 41198 RVA: 0x001AE3C3 File Offset: 0x001AC5C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HandMainPropertyList
		{
			get
			{
				return this.handMainPropertyList_;
			}
		}

		// Token: 0x0600A0EF RID: 41199 RVA: 0x001AE3CB File Offset: 0x001AC5CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RelicFilterPlanSettings);
		}

		// Token: 0x0600A0F0 RID: 41200 RVA: 0x001AE3DC File Offset: 0x001AC5DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RelicFilterPlanSettings other)
		{
			return other != null && (other == this || (this.RarityBitset == other.RarityBitset && this.relicSetList_.Equals(other.relicSetList_) && this.bodyMainPropertyList_.Equals(other.bodyMainPropertyList_) && this.footMainPropertyList_.Equals(other.footMainPropertyList_) && this.sphereMainPropertyList_.Equals(other.sphereMainPropertyList_) && this.ropeMainPropertyList_.Equals(other.ropeMainPropertyList_) && this.IsIncludeFilterSubProperty == other.IsIncludeFilterSubProperty && this.SubPropertyNum == other.SubPropertyNum && this.subPropertyList_.Equals(other.subPropertyList_) && this.headMainPropertyList_.Equals(other.headMainPropertyList_) && this.handMainPropertyList_.Equals(other.handMainPropertyList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A0F1 RID: 41201 RVA: 0x001AE4E0 File Offset: 0x001AC6E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RarityBitset != 0U)
			{
				num ^= this.RarityBitset.GetHashCode();
			}
			num ^= this.relicSetList_.GetHashCode();
			num ^= this.bodyMainPropertyList_.GetHashCode();
			num ^= this.footMainPropertyList_.GetHashCode();
			num ^= this.sphereMainPropertyList_.GetHashCode();
			num ^= this.ropeMainPropertyList_.GetHashCode();
			if (this.IsIncludeFilterSubProperty)
			{
				num ^= this.IsIncludeFilterSubProperty.GetHashCode();
			}
			if (this.SubPropertyNum != 0U)
			{
				num ^= this.SubPropertyNum.GetHashCode();
			}
			num ^= this.subPropertyList_.GetHashCode();
			num ^= this.headMainPropertyList_.GetHashCode();
			num ^= this.handMainPropertyList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A0F2 RID: 41202 RVA: 0x001AE5C1 File Offset: 0x001AC7C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A0F3 RID: 41203 RVA: 0x001AE5C9 File Offset: 0x001AC7C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A0F4 RID: 41204 RVA: 0x001AE5D4 File Offset: 0x001AC7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RarityBitset != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.RarityBitset);
			}
			this.relicSetList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_relicSetList_codec);
			this.bodyMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_bodyMainPropertyList_codec);
			this.footMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_footMainPropertyList_codec);
			this.sphereMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_sphereMainPropertyList_codec);
			this.ropeMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_ropeMainPropertyList_codec);
			if (this.IsIncludeFilterSubProperty)
			{
				output.WriteRawTag(56);
				output.WriteBool(this.IsIncludeFilterSubProperty);
			}
			if (this.SubPropertyNum != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.SubPropertyNum);
			}
			this.subPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_subPropertyList_codec);
			this.headMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_headMainPropertyList_codec);
			this.handMainPropertyList_.WriteTo(ref output, RelicFilterPlanSettings._repeated_handMainPropertyList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A0F5 RID: 41205 RVA: 0x001AE6D0 File Offset: 0x001AC8D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RarityBitset != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RarityBitset);
			}
			num += this.relicSetList_.CalculateSize(RelicFilterPlanSettings._repeated_relicSetList_codec);
			num += this.bodyMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_bodyMainPropertyList_codec);
			num += this.footMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_footMainPropertyList_codec);
			num += this.sphereMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_sphereMainPropertyList_codec);
			num += this.ropeMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_ropeMainPropertyList_codec);
			if (this.IsIncludeFilterSubProperty)
			{
				num += 2;
			}
			if (this.SubPropertyNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SubPropertyNum);
			}
			num += this.subPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_subPropertyList_codec);
			num += this.headMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_headMainPropertyList_codec);
			num += this.handMainPropertyList_.CalculateSize(RelicFilterPlanSettings._repeated_handMainPropertyList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A0F6 RID: 41206 RVA: 0x001AE7CC File Offset: 0x001AC9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RelicFilterPlanSettings other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RarityBitset != 0U)
			{
				this.RarityBitset = other.RarityBitset;
			}
			this.relicSetList_.Add(other.relicSetList_);
			this.bodyMainPropertyList_.Add(other.bodyMainPropertyList_);
			this.footMainPropertyList_.Add(other.footMainPropertyList_);
			this.sphereMainPropertyList_.Add(other.sphereMainPropertyList_);
			this.ropeMainPropertyList_.Add(other.ropeMainPropertyList_);
			if (other.IsIncludeFilterSubProperty)
			{
				this.IsIncludeFilterSubProperty = other.IsIncludeFilterSubProperty;
			}
			if (other.SubPropertyNum != 0U)
			{
				this.SubPropertyNum = other.SubPropertyNum;
			}
			this.subPropertyList_.Add(other.subPropertyList_);
			this.headMainPropertyList_.Add(other.headMainPropertyList_);
			this.handMainPropertyList_.Add(other.handMainPropertyList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A0F7 RID: 41207 RVA: 0x001AE8B8 File Offset: 0x001ACAB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A0F8 RID: 41208 RVA: 0x001AE8C4 File Offset: 0x001ACAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num <= 24U)
					{
						if (num <= 16U)
						{
							if (num == 8U)
							{
								this.RarityBitset = input.ReadUInt32();
								continue;
							}
							if (num != 16U)
							{
								goto IL_D3;
							}
						}
						else if (num != 18U)
						{
							if (num != 24U)
							{
								goto IL_D3;
							}
							goto IL_111;
						}
						this.relicSetList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_relicSetList_codec);
						continue;
					}
					if (num <= 32U)
					{
						if (num == 26U)
						{
							goto IL_111;
						}
						if (num != 32U)
						{
							goto IL_D3;
						}
					}
					else if (num != 34U)
					{
						if (num != 40U && num != 42U)
						{
							goto IL_D3;
						}
						this.sphereMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_sphereMainPropertyList_codec);
						continue;
					}
					this.footMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_footMainPropertyList_codec);
					continue;
					IL_111:
					this.bodyMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_bodyMainPropertyList_codec);
					continue;
				}
				if (num > 72U)
				{
					if (num <= 80U)
					{
						if (num == 74U)
						{
							goto IL_17C;
						}
						if (num != 80U)
						{
							goto IL_D3;
						}
					}
					else if (num != 82U)
					{
						if (num != 88U && num != 90U)
						{
							goto IL_D3;
						}
						this.handMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_handMainPropertyList_codec);
						continue;
					}
					this.headMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_headMainPropertyList_codec);
					continue;
				}
				if (num <= 50U)
				{
					if (num != 48U && num != 50U)
					{
						goto IL_D3;
					}
					this.ropeMainPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_ropeMainPropertyList_codec);
					continue;
				}
				else
				{
					if (num == 56U)
					{
						this.IsIncludeFilterSubProperty = input.ReadBool();
						continue;
					}
					if (num == 64U)
					{
						this.SubPropertyNum = input.ReadUInt32();
						continue;
					}
					if (num != 72U)
					{
						goto IL_D3;
					}
				}
				IL_17C:
				this.subPropertyList_.AddEntriesFrom(ref input, RelicFilterPlanSettings._repeated_subPropertyList_codec);
				continue;
				IL_D3:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003E09 RID: 15881
		private static readonly MessageParser<RelicFilterPlanSettings> _parser = new MessageParser<RelicFilterPlanSettings>(() => new RelicFilterPlanSettings());

		// Token: 0x04003E0A RID: 15882
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E0B RID: 15883
		public const int RarityBitsetFieldNumber = 1;

		// Token: 0x04003E0C RID: 15884
		private uint rarityBitset_;

		// Token: 0x04003E0D RID: 15885
		public const int RelicSetListFieldNumber = 2;

		// Token: 0x04003E0E RID: 15886
		private static readonly FieldCodec<uint> _repeated_relicSetList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04003E0F RID: 15887
		private readonly RepeatedField<uint> relicSetList_ = new RepeatedField<uint>();

		// Token: 0x04003E10 RID: 15888
		public const int BodyMainPropertyListFieldNumber = 3;

		// Token: 0x04003E11 RID: 15889
		private static readonly FieldCodec<uint> _repeated_bodyMainPropertyList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x04003E12 RID: 15890
		private readonly RepeatedField<uint> bodyMainPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E13 RID: 15891
		public const int FootMainPropertyListFieldNumber = 4;

		// Token: 0x04003E14 RID: 15892
		private static readonly FieldCodec<uint> _repeated_footMainPropertyList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04003E15 RID: 15893
		private readonly RepeatedField<uint> footMainPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E16 RID: 15894
		public const int SphereMainPropertyListFieldNumber = 5;

		// Token: 0x04003E17 RID: 15895
		private static readonly FieldCodec<uint> _repeated_sphereMainPropertyList_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04003E18 RID: 15896
		private readonly RepeatedField<uint> sphereMainPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E19 RID: 15897
		public const int RopeMainPropertyListFieldNumber = 6;

		// Token: 0x04003E1A RID: 15898
		private static readonly FieldCodec<uint> _repeated_ropeMainPropertyList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04003E1B RID: 15899
		private readonly RepeatedField<uint> ropeMainPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E1C RID: 15900
		public const int IsIncludeFilterSubPropertyFieldNumber = 7;

		// Token: 0x04003E1D RID: 15901
		private bool isIncludeFilterSubProperty_;

		// Token: 0x04003E1E RID: 15902
		public const int SubPropertyNumFieldNumber = 8;

		// Token: 0x04003E1F RID: 15903
		private uint subPropertyNum_;

		// Token: 0x04003E20 RID: 15904
		public const int SubPropertyListFieldNumber = 9;

		// Token: 0x04003E21 RID: 15905
		private static readonly FieldCodec<uint> _repeated_subPropertyList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04003E22 RID: 15906
		private readonly RepeatedField<uint> subPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E23 RID: 15907
		public const int HeadMainPropertyListFieldNumber = 10;

		// Token: 0x04003E24 RID: 15908
		private static readonly FieldCodec<uint> _repeated_headMainPropertyList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04003E25 RID: 15909
		private readonly RepeatedField<uint> headMainPropertyList_ = new RepeatedField<uint>();

		// Token: 0x04003E26 RID: 15910
		public const int HandMainPropertyListFieldNumber = 11;

		// Token: 0x04003E27 RID: 15911
		private static readonly FieldCodec<uint> _repeated_handMainPropertyList_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x04003E28 RID: 15912
		private readonly RepeatedField<uint> handMainPropertyList_ = new RepeatedField<uint>();
	}
}
